home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / RE>Re ODF Library 1.1b2.1 < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.0 KB  |  [TEXT/ttxt]

  1. Subject:     RE>Re: ODF Library 1.1b2
  2. Sent:        9/4/96 3:48 PM
  3. Received:    9/4/96 3:48 PM
  4. From:        Mary Boetcher <boetche1@apple.com>
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. >this means that FW_kIconAlignCenter and FW_kIconAlignVCenter are pretty 
  10. >much meaningless now.
  11.  
  12. Pretty much. The reason for the new behavior is that the icon is rendered 
  13. by calling PlotIconSuite in the Mac Toolbox. Quoting from Inside Mac:
  14. "The destination rectangle passed in the theRect parameter of 
  15. PlotIconSuite must be exactly 32 by 32 pixels, 16 by 16 pixels, or 12 by 
  16. 16 pixels for PlotIconSuite to draw the icon without stretching it. If 
  17. the destination rectangle is not one of these standard sizes, 
  18. PlotIconSuite expands or shrinks the icon to fit. After stretching or 
  19. shrinking the icon, the PlotIconSuite function aligns the icon according 
  20. to the value specified in the align parameter, moving the icon so that 
  21. the edges of its mask align with the specified side or direction."
  22.  
  23. Mary Boetcher
  24. ODF Person